<template>
  <DkDouyinUpload v-if="authType !== 1" />
  <DkDouyinUploadOpen v-else />
</template>
<script setup>
import DkDouyinUpload from './DkDouyinUpload.vue'
import DkDouyinUploadOpen from './DkDouyinUploadOpen/index.vue'
const defaultApp = inject('defaultApp')

const authType = computed(() => {
  return defaultApp.value.server_config.auth_type || 0
})
</script>

<style scoped lang="scss"></style>
